<?= $this->partial('user/morelayout.phtml', array(
									'uid' => $this->uid, 
									'type' => $this->type,
									'myaction' => $this->myaction
									)
	); 
?>
<script>
if (window == top)top.location.href = "";
function checkform(){
	var email=$("input[name='email']").val();
	if(!checkEmail(email)){
		parent.showMsg('请填写正确的邮箱地址!');
		return false;
	}
	var phone=$("input[name='phone']").val();
	if(phone==''){
		parent.showMsg('请填写您的电话联系方式!');
		return false;
	}
	var address=$("input[name='address']").val();
	if(address==''){
		parent.showMsg('请填写您的详细地址!');
		return false;
	}
	commonEffection.setLoading();
	$('#CompanycontactuscontentForm').submit();
}
$(document).ready(
	function(){
		var sex="<?=$this->sellerArray[0]['sex']?>";
		$("input[type='radio']").attr("checked",false);
		$("input[value='"+sex+"']").attr("checked",true);
	}
);
</script>
<div class="frame_introDiv">
<form name="userForm" id="userForm" action="administrator-user-docontact" method="post">
  <!--企业 -->
    <!--个人-->
  <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#c8d9e9">
  	<tr>
          <td valign="top" class="ri-bbgg"><span class="red">*</span> 用户名： </td>
          <td class="le"><?=$this->sellerArray[0]['username']?></td>
    <tr>
    <tr>
      <td width="27%" class="ri-bbgg"> 真实姓名：</td>
      <td width="73%" class="le"><?=$this->sellerArray[0]['real_name']?></td>
    </tr>
    <tr>
      <td valign="top" class="ri-bbgg"><span class="red">*</span> 电子邮件： </td>
      <td class="le"><input type="text" name="email"  id="email"  value="<?=$this->sellerArray[0]['email']?>" /></td>
    </tr>
    <tr>
      <td valign="top" class="ri-bbgg">性 别：</td>
      <td class="le"><input type="radio" name="sex" id="sex" value="m"  checked="checked" />
        男
        <input name="sex" type="radio" value="f"  />
        女 </td>
    </tr>
    <tr>
      <td class="ri-bbgg"><span class="red">*</span> 电 话：</td>
      <td class="le"><input name="phone" type="text" id="phone" value="<?=$this->sellerArray[0]['phone']?>" /></td>
    </tr>
    <tr>
      <td class="ri-bbgg"><span class="red">*</span> 详细地址：</td>
      <td class="le"><input name="address" type="text" id="address" value="<?=$this->sellerArray[0]['address']?>" /></td>
    </tr>
    <tr>
      <td valign="top" class="ri-bbgg">手 机：</td>
      <td class="le"><input name="cell" type="text" maxlength=20 id="cell" value="<?=$this->sellerArray[0]['cell']?>" /></td>
    </tr>
    <tr>
      <td valign="top" class="ri-bbgg">传 真：</td>
      <td class="le"><input name="fax" maxlength=20 type="text" id="fax" value="<?=$this->sellerArray[0]['fax']?>" /></td>
    </tr>
    <tr>
      <td valign="top" class="ri-bbgg">MSN/QQ：</td>
      <td class="le"><input name="im" maxlength=30 type="text" id="im" value="<?=$this->sellerArray[0]['im']?>" /></td>
    </tr>
	<!--
    <tr>
      <td colspan="2" class="se" style="text-align:center"><span>
        <input name="button2" type="button" class="iput" onclick="checkform();" value="保 存" />&nbsp;&nbsp;
        <input name="act" id="act" type="hidden"  value="save" />
        <input name="isenterprice" id="isenterprice" type="hidden"  value="0" />
      </span><font color="#FF0000"></font></td>
    </tr>
	-->
  </table>
  </form>
</div>